package com.liao.ticket.util;

import org.apache.commons.codec.digest.DigestUtils;

import java.nio.charset.StandardCharsets;

public class PassUtils {
    private static final String slat = "xyl!@#890";

    public static String thicken(String pass) {
        return DigestUtils.md5Hex((pass + slat).getBytes(StandardCharsets.UTF_8));
    }

    public static void main(String[] args) {
        System.out.println(thicken("123456"));
    }
}
